def generator(func):
    # *args和**kwargs就是万能参数
    def wrapper(*args, **kwargs):
        result = func(*args, **kwargs)
        return result

    return wrapper


@generator
def peat(word):
    print(f"{word}下的单词有: peat coal repeat repetition repetitive repetitious")


if __name__ == '__main__':
    peat("peat")
